package yx1;

import java.io.Serializable;

public class Attachment implements Cloneable, Serializable {
    private static final long serialVersionUID = -763304013652044851L;
    public String Name;

    public Attachment Clone() {
        Attachment att = null;
        try {
            att = (Attachment) super.clone();
            att.Name = this.Name;

        } catch (CloneNotSupportedException e) {
            e.printStackTrace();
        }
        return att;
    }

    public String getName() {
        return Name;
    }

    public void setName(String name) {
        Name = name;
    }



    @Override
    public String toString() {
        return "Attachment{" +
                "Name='" + Name + '\'' +
                '}';
    }
}